<div class="input-question">
	<?php
		$options = array();

		foreach ($cq->data['ChoiceQuestionChoice'] as $choice) {
			$options[$choice['id']] = $choice['label'];
		}

		if (intval($cq->data['ChoiceQuestion']['max_responses']) == 1) {
			//Radio
			echo $this->TwitterBootstrap->radio(sprintf('Question-%s', $cq->data['Question']['id']), array(
				'label' => $cq->data['Question']['label'],
				'help_block' => $cq->data['Question']['help_text'],
				'required' => $cq->data['Question']['required'] ? 'required' : '',
				'options' => $options
			));
		} else {
			//Checkbox
			echo $this->TwitterBootstrap->input(sprintf('Question-%s', $cq->data['Question']['id']), array(
				'label' => $cq->data['Question']['label'],
				'help_block' => $cq->data['Question']['help_text'],
				'required' => $cq->data['Question']['required'] ? 'required' : '',
				'options' => $options,
				'multiple' => 'checkbox'
			));
		}

		
	?>
</div>